home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 142
/
Volume 142 Oct 17 2011 - Damaged.iso
/
Games
/
rapid-fire.swf
/
scripts
/
__Packages
/
TargetPoints.as
< prev
next >
Wrap
Text File
|
2011-10-17
|
409b
|
23 lines
class TargetPoints extends MovieClip
{
var dy = -3;
function TargetPoints()
{
super();
if(this.points >= 20)
{
this.points_field.textColor = 16711680;
}
}
function Update()
{
var _loc1_ = this;
_loc1_._y += _loc1_.dy;
_loc1_.dy += 0.2;
if(_loc1_.dy > 0)
{
_loc1_.removeMovieClip();
}
}
}